package com.study.vo;

import com.study.modules.saas.repository.enums.MenuCategory;
import com.study.modules.saas.repository.enums.MenuType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
@ApiModel("菜单请求")
public class MenuRequest {

    @ApiModelProperty("名称")
    @NotEmpty
    private String name;

    @ApiModelProperty("父菜单id")
    private Integer parentId;

    @ApiModelProperty("序号")
    private Integer orderNum = 1000;

    @ApiModelProperty("路径")
    private String path;

    @ApiModelProperty("菜单种类")
    private MenuCategory category;

    @ApiModelProperty("菜单类型")
    private MenuType type;

    @ApiModelProperty("权限")
    private String permission;

    @ApiModelProperty("备注")
    private String remark;


}
